<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
<div th:fragment="nav">
    <a href="/">首页</a>
    <a href="/list">列表循环</a>
    <a href="/condition">条件判断</a>
</div>
</body>
</html>